package com.funtl.spring.cloud.alibaba.unit.domain;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;

import java.util.List;

/**
 * @ClassName Movie
 * @Description TODO
 * @Author Mr.Starry
 * @Date 2019/12/30 22:25
 * @Version 1.0
 */
@Data
@Document(indexName = "movies", type = "_doc")
public class Movie {
    private String id;
    private String title;
    private List<String> genre;
    private Integer year;
}
